﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.Contracts.DTO.Response.Material
{
    /// <summary>
    /// 产品
    /// </summary>
    public class ProductsResponseDto
    {
        /// <summary>
        /// 产品id
        /// </summary>
        public int PId { get; set; }
        /// <summary>
        /// 产品分类
        /// </summary>
        public string PName { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public int PFId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Psort { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool PYesNoQiYun { get; set; } = false;
        /// <summary>
        /// 是否是物料/产品
        /// </summary>
        public bool PYesNoEnable { get; set; } = false;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime PDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 子级
        /// </summary>
        public List<ProductsResponseDto> children { get; set; }
    }
}
